package MiniZelda;

import java.awt.Color;
import java.awt.Graphics;

import javax.swing.BorderFactory;
import javax.swing.JPanel;

public class DrawGame {
	int size = 50;
	JPanel gamePan = new JPanel();
	DrawGame() {
		gamePan.addKeyListener(new Keyboard());
		gamePan.addMouseListener(new Mouse());
		gamePan.addMouseMotionListener(new Mouse());
		gamePan.addMouseWheelListener(new Mouse());
		gamePan.setVisible(true);
		gamePan.setBounds(0,0, 100,100);
		gamePan.setFocusable(true);
		
	}
	public void paint(Graphics g) {
		gamePan.setBorder(BorderFactory.createLineBorder(Color.black, 4));
		gamePan.setBackground(Color.white);
		g.setColor(Color.black);
		g.fillOval(0, 0, size, size);
	}
	
}
